package com.yima.baseproj.module.app.lunbotu;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yima.baseproj.module.app.lunbotu.model.AppLunbotuSearchModel;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class AppLunbotuService extends ServiceImpl<AppLunbotuMapper, AppLunbotuEntity> {

    public Page<Map> findByPage(Page page, AppLunbotuSearchModel searchVo) {
        return baseMapper.findBySearchVo(page,searchVo);
    }

    public List<Map> findByList(AppLunbotuSearchModel searchVo) {
        return baseMapper.findBySearchVo(searchVo);
    }
}